package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile   string `gorm:"type:varchar(11);not null;comment:'手机号'"`
	Password string `gorm:"type:varchar(30);not null;comment:'密码'"`
}

// 商家信息表
type SaleInfo struct {
	gorm.Model
	SaleName string `gorm:"type:varchar(30);not null;comment:'商家姓名'"`
	Mobile   string `gorm:"type:varchar(11);not null;comment:'手机号'"`
}
